Package com.cisco.pt.ipc.events
Class SimulationEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.SimulationEventRegistry
An event for the IPC's SimulationEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<SimulationEventListener>protected Map<String,Set<SimulationEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(SimulationEventListener listener) voidaddListener(SimulationEventListener listener, Simulation objClass) voidaddListenerFiltered(SimulationEventListener listener, List<String> events) voidaddSpecificListenerFiltered(SimulationEventListener listener, Simulation objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(SimulationEventListener listener) voidremoveListener(SimulationEventListener listener, Simulation objClass) voidremoveListenerFiltered(SimulationEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(SimulationEventListener listener, Simulation objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
SimulationEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
public void addListenerFiltered(SimulationEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(SimulationEventListener listener, Simulation objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(SimulationEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(SimulationEventListener listener, Simulation objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
public void removeListener(SimulationEventListener listener, Simulation objClass) throws IOException - Throws:
IOException
-